<div class="wp">
    <div class="addbox editbox" style="display:none;">
        <div class="contlong">
            <label for="cont">组件内容</label>
            <textarea type="text" name="cont" id="cont"></textarea>
        </div>
        <div class="Cedit">
            <h6>编辑组件</h6>
            <div class="form-group">
                <label for="name">组件名称</label>
                <input type="text" name="name" id="name">
            </div>
            <div class="form-group">
                <label for="vers">组件版本</label>
                <input type="text" name="vers" id="vers">
            </div>
            <div class="form-group txtlong">
                <label for="txt">备注</label>
                <textarea type="text" name="txt" id="txt"></textarea>
            </div>
            <div class="form-group">
                <label for="js">上传文件</label>
                <input type="file"  name="js" id="js">
            </div>

            <div class="btnbox">
                <button type="submit" class="Cbtn submit">提交</button>
                <button type="close" class="Cbtn close">取消</button>
            </div>
        </div>
    </div>
</div>


{{#extend 'jquery'}}
<script>
    $(".editbox .close").click(function () {
        $('.editbox').hide();
    })
</script>
{{/extend}}